package com.fauks.ssm.spring.aspectj;

import org.aspectj.lang.JoinPoint;

/*
使用xml方式配置切面
 */
public class XmlAspectJ {
    //前置方法
    public void before(JoinPoint joinPoint) {
        System.out.println("xml配置前置通知：" + joinPoint.getSignature().getName());
    }

    public void afterReturn(JoinPoint joinPoint, String result) {
        System.out.println("xml配置前置通知：" + joinPoint.getSignature().getName() + ",返回值为：" + result);
    }
}
